package com.datoucai.utils;

import com.datoucai.dto.CommentInfoDto;

public class RedisUtils {


    public static String getCommentKey(CommentInfoDto dto){
       return "comment:queue:"+dto.getModule()+":"+dto.getResourceId()+":"+ (dto.getPageNum()==null?1:dto.getPageNum());
    }
}
